Component({
  /**
   * 组件的属性列表
   */
  properties: {
    label: {
      type: String,
      value: "default"
    }
  },

  data: {
    date: "",
    time: ""
  },

  methods: {
    bindDateChange(e) {
      this.setData({
        date: e.detail.value
      });
    },

    bindTimeChange(e) {
      this.setData({
        time: e.detail.value
      });
    }
  }
});
